import Vue from "vue";
import Router from "vue-router";
import Login from "../components/login.vue";
Vue.use(Router);

export default new Router({
  routes: [
    // 路由规则
    { path: "/login", component: Login },
    {path:'/',  redirect:'/login'}
  ],
});
